//
//  ModelOfSevenContinents.m
//  FreeTravel
//
//  Created by 徐康 on 16/9/7.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "ModelOfSevenContinents.h"

@implementation ModelOfSevenContinents
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    NSMutableArray *arr1 = [NSMutableArray array];
    if ([key isEqualToString:@"data"]) {
        for (NSDictionary *dic in value) {
            ModelOfContinents *model = [ModelOfContinents modelWithDic:dic];
            [arr1 addObject:model];
        }
        self.data = arr1;
    }
}
@end
